package com.treasure.mall.biz.dto.withdraw;

import com.treasure.mall.biz.dto.BaseDTO;
import com.treasure.mall.biz.dto.BaseSaveDTO;
import com.treasure.mall.biz.entity.user.UserPO;
import com.treasure.mall.biz.entity.withdraw.BankPO;
import com.treasure.mall.biz.entity.withdraw.UserBankInfoPO;
import com.treasure.mall.zbq.common.ienum.withdraw.WithdrawEnums;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author zoul
 * @version 1.0
 * @date 2020/6/14 15:22
 * @Description
 */
@Data
public class WithdrawDTO implements BaseSaveDTO, Serializable {
    private static final long serialVersionUID = -4434348970953610L;

    /**
     * 银行信息
     */
    private Long infoId;

    /**
     * 提现金额
     */
    private BigDecimal applyMoney;

    /**
     * 提现类型 {@link WithdrawEnums.WithdrawType}
     */
    private WithdrawEnums.WithdrawType withdrawType;
}